MPTaskInfo

If you specify the kMPTaskStateTaskInfo constant when calling the function MPExtractTaskState , Multiprocessing Services returns state information in a data structure of type MPTaskInfo , which has the following definition:

struct MPTaskInfo {
    PBVersion       version; /* Version of the data structure requested*/
    OSType          name;   
    OSType          queueName;  
    UInt16          runState;   
    UInt16          lastCPU;    
    UInt32          weight;     
    MPProcessID     processID;  
    AbsoluteTime    cpuTime;    
    AbsoluteTime    schedTime;  
    AbsoluteTime    creationTime;   
    ItemCount       codePageFaults;
    ItemCount       dataPageFaults;
    ItemCount       preemptions;    
    MPCpuID         cpuID;  
};
typedef struct MPTaskInfo MPTaskInfo;


© 1999 Apple Computer, Inc. – (Last Updated 17 Nov 99)